package com.cam.framework.crud;

import java.util.ArrayList;
import java.util.List;

public abstract class CrudTreeEntity extends CrudEntity {

    /*
    * 名称
    * */
    private String name;

    /*
    * 父级ID
    * */
    private String parentId;

    /*
    * 所有父级ID
    * */
    private String parentIds;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String getRootId() {
        return "0";
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }

}
